package com.briup.service.impl;

import com.briup.bean.Category;
import com.briup.dao.CategoryMapper;
import com.briup.service.ICategoryService;
import com.briup.util.MyBatisSqlSessionFactory;

import java.util.List;

/**
 * @author 王若龙
 * @CreateTime 2022-09-23 10:19
 */
public class ICategoryServiceImpl implements ICategoryService {
   CategoryMapper categoryMapper = MyBatisSqlSessionFactory.openSession(true).getMapper(CategoryMapper.class);

    @Override
    public List<Category> findAllCategorys() {
        return categoryMapper.findAllCategorys();
    }
}
